From 3fee74a43b935594b0878e018161c3356a6aad6d Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 24 Apr 2025 10:07:47 +0200 Subject: [PATCH] fix(filesystem): still use std::filesystem::remove for folders this API has a way to provide an error when failing to delete a folder we may want to know why teh folderf ailed to be deleted QDir::rmdir does not provide any error when failing to delete a folder Signed-off-by: Matthieu Gallien --- src/libsync/filesystem.cpp | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/libsync/filesystem.cpp b/src/libsync/filesystem.cpp index 55d4c3c8b..3150819a3 100644 --- a/src/libsync/filesystem.cpp +++ b/src/libsync/filesystem.cpp @@ -305,7 +305,25 @@ bool FileSystem::removeRecursively(const QString &path, const std::function